package meeting.subject.concrete_subject;

import meeting.department.AbstractPart;
import meeting.subject.Subject;

import java.util.List;

public class ConcreteSubject extends Subject {
    @Override
    public void notifyEmployee() {
        for(AbstractPart abstractPart : abstractParts){
            for (String meeting : meetings){
                abstractPart.accept(meeting);
            }
        }
    }
}
